<template>
	<view class="page">
		<view class="content" v-for="data in list" @click="Jump(data.id)">
			<view class="left">
				<view >{{data.title}}</view> 
				<view class="fuhao">></view>
			</view>
			<view class="right">
				<image src="https://shoujizulin3.hzrjkf.com/static/wxpng/jinru.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
			}
		},
		onLoad(option){
			console.log(option,'option');
		},
		methods: {
			Jump(data){
			uni.navigateTo({
				url:"/pages/hetong/htdetail?id=" + data
			})	
			},
			zlht(){
				let self = this;
				self._post('agreement.agreement/index', {
					page:1,
					list_rows:20,
					agreement_type:1
				}, function(res) {
					// console.log("1111",res.data.list.data);
					self.list = res.data.list.data;
					// console.log(self.list);
				});
			}
		},
		onLoad() {
			this.zlht()
		}
	}
</script>

<style lang="less">
	.page{
		background-color: #f1f4f6;
		padding:30rpx;
		// background-color: #FFFFFF;
		
	}
	.content{
		// display: flex;
		// justify-content: space-between;
		margin: 10rpx 0;
		.left{
			font-size: 32rpx;
			display: flex;
			flex-direction:row;
			justify-content: space-between;
			// background-color: white;
			.fuhao{
				font-weight:50;
			}
		}
		.right{
			image{
				width: 40rpx;
				height: 40rpx;
			}
		}
	}
	
</style>
